package com.es.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 文雪峰
 * @date 2019/12/20 15:57
 * @description 用户性别枚举
 **/
@Getter
@AllArgsConstructor
public enum UserSexEnum {
    /**
     * 男
     */
    MALE(Values.MALE, "男"),
    /**
     * 女
     */
    FEMALE(Values.FEMALE, "女");
    private int status;
    private String desc;
    private static class Values {
        private static final int MALE = 1;
        private static final int FEMALE = 2;
    }
}
